There is nothing wrong with this, the obvious benefit is that, to some extent, the load time will be faster. We did it (in my current company) where possible. Obvious warning words, of course:
Test carefully after you have minimized (and before you go live) - some minifiers are not always 100% reliable (and in the past we had some functions for some functions).
Watch how you minimize - during the days of setting up our build process there were situations when some files were somehow evaluated twice (i.e. some third-party things were already rated) - caused a lot of problems ... (donβt ask me, why!)
source share