What do you need vs. what do you use?
What I use...
Linear Algebra - I do a lot of work in the print/PDF industry. Matrix transformations being the primary one to convert coordinate systems.
Number Theory - To understand cryptography, data compress, encode-decode, etc. - it's really hard to do any of this without Number Theory.
Discrete and Combinatorial math - As strange as it sounds, knowing how to properly count and manipulate integers is the heart and foundation of what a computer does.
Graph Theory - For flowcharts (yes, a good developer should still sketch overall design, logic flow, data flow, etc.), logic, state-tables, and programming data structures (including object inheritance).
Regular Algebra I & II - used all the time... Solve for X?
Both Algebra (discrete) and Calculus (continuous) based course in statistics.. or as we would call it sadistics.
I had Calc I, II, & III. Do I use any of it? NO - but I'm not a Quaint. But it's been helpful to make better sense of the maths I *do* use.
In short - don't select the courses based on what you will *need* - but on what will help you solve problems, be functional, productive, and give you the tools to teach yourself what you don't know when you need it. It's just like all the CS class you take - a zillion languages, data structures, networking, databases, etc. Because of that background I've been able to teach myself Python, JavaScript and a few other languages - that didn't even exist when I was in school.
CS is like woodworking (which I do as well). A lot of folks can use a table saw, router, planer, etc. to make a nice piece of case goods. But if that's all you know how to use that's what you will be limited to doing. The truly skilled folks can use those tools, a hand saw, along with a cabinet scraper (level a finish), chisels, carving tools and a Stanley Combination plane. They don't use them or need them all that often. Sometimes it's years apart - but when they do they are sure glad to have that tool in their toolbox.
When a new project comes along, would you rather be the one that can say 'Sure, I can take that on.' or the one that says - 'Go ahead and outsource that to a contractor.' Maybe you are the contractor - Yea, I can do it! - or no, have to pass on that gig - maths are too complex.
I don't remember much of my Calculus - but I know it's there. And, if I ever need it I can go out to the Wikipedia page and bone up on the part's that I forgot. And if I never need it - I still feel that I am a better person having learnt it at one time.
Finally - for all of you that said 'oh, you'll never need that because library 'x' handles it for you.' Someone had to write library X. I'm not saying that everyone needs to start from square one and invent the wheel, fire, and the lever. But you should at least know how the wheel, fire, and the lever work when you use it. Lest you start to use a screwdriver for a chisel.
Good luck.