You can buy the Junior Card at any of those stations.
Given that you are visiting Switzerland have you considered getting the Swiss Half Fare Card? That gives you a discount on all transportation, including mountain railways and cable cars. And it comes with the Swiss Family Card.