How merge userlib in a central position

Sorry if answer has already been asked.
I just bought Pinegrow and I want to centralise my userlib. But each time I open an existing page of my site (pages in different folders), he create a new userlib.js. Is it possible to merge theses files, or … what must be the structure of the file and how merge them manually?

Thanks for your answer