Migrating Piwik installation from one domain to another

I looked thru the FAQs and I just wanted to make sure I have the correct procedure to move the install to a new domain. This is for a Piwik install on one main domain with some other sites on other domains (Wordpress sites with WP Piwik plugins) reporting data back to the main domain.

If I want to move my Piwik installation and keep the historical pre-existing data - do I just move the Piwik installation folder and then update the Wordpress WP plugins to point to the new domain’s Piwik install URL?