Combine scripts from all extensions of the plugin when an extension is activated

I am developing a WordPress plugin whose functionality can be extended by other plugins. The extensions simple WordPress plugins but just adds functionality by adding hooks.

Since there can be too many such script files loaded on the page, I want to concatenate all of them, and possibly minify, into a single file.

I tried to hook the register_activation_hook to get and combine all scripts, however, as per docs, this hook should not be used in plugins_loaded hook or any other hook. My extensions filter is not getting executed from this hook to get their scripts locations. So I cannot get the locations of all activated plugins.

Is there any other hook that I can use to do this concatenation one time when any extension is activated/deactivated?