Note that the merged scripts will be deregistered, this will make wordpress deregister the dependent script too. For example: admin-bar script need jquery, so if we merge the jquery script, the admin-bar script will be deregistered too

If the admin-bar script included in the merged script, then it will be ok, otherwise, it will not be loaded by the wordpress that probably cause your page has not functionality as it should