rm *.min.js; for f in *.js; do short=${f%.js}; uglifyjs $f > $short.min.js; done
for file in *.gz; do mv "$file" "${file%js.gz}gz.js"; done
for file in *; do gzip -9 "$file"; done

uglifyjs *.js>global_with_affix.`date +%s`.min.js

uglifyjs *.js | gzip -9 -c >global_with_affix.`date +%s`.min.gz.js
uglifycss *.css | gzip -c -9>therest.`date +%s`.min.gz.css

therest.min.gz.css - update entry in header.html! 
