some of our sites are using wp rocket and cloudflare. What are the matomo js files that I need to add in exclusion for minifying the files?
The only js file called by the public tracker is matomo.js
If you mean web ui’s js files, I bet you should put your installation in debug mode and adding the option that let you avoid assets compression. You can find useful info inside config/global.inc.php
file.