You could probably just set a variable on the page that contains the plugin, then add a check to plugin pages.
So if you were to add to the original page:
$includedOnPage = true;
then you could include in each plugin:
if (!isset($includedOnPage)) die();
That would prevent the plugin from being viewed directly.