Minification of server JS files on demand

Hi all,

Does anyone know, how would one go about minifying the server files? We have strong reasons to want to do that.

Thanks!

What kind of strong reasons?

On premise installation, IP protection.