When a plugin was not placed in the regular
$matomoInstall/plugins directory but in some alternative directory, then the
tracker.min.js was not found. Therefore had to change the logic so that all tracker files can be found correctly. This is needed for WordPress as otherwise some plugins don't work there.