replace 3rd party libraries with minified versions