How to combine files?

So I did a speed test on my website and one of the main things I need to do this:
'Combine files, combine multiple scripts into one script, combine multiple CSS files into one style sheet, and use CSS Sprites and image maps. ’
and I have no idea how to do any of that, any help?