minify JS in porto theme in magento 2

minify JS in porto theme in magento 2.1.7, I’ve tried to minify the JS but the website breaks after merging the JS or the CSS.

you can contact with porto author with purchase key hope solved your issue soon.