A small earthquake that registered 2.5 shook Magna and the surrounding area just before noon on Wednesday.