There are lot's of things you can do to build up endurance. I practice longer than I can. Play even when it feels like you can't play above the staff. Then when you can't play another note, you stop. Rest, then start playing again. The next day you will find that you can play much longer.