Minify scripts for #5109